#include "iBe.h"

NamedObject::NamedObject()
{}

NamedObject::NamedObject( const Handle & _handle, const String & _name ):
  handle(_handle), name( new String(_name) )
{}

NamedObject::~NamedObject()
{}

void NamedObject::setName( const String & _name )
{
  name.reset( new String(_name) );
}

void NamedObject::setHandle( const Handle & _handle )
{
  handle = _handle;
}

StringPtr NamedObject::getName() const
{
  return name;
}

Handle NamedObject::getHandle() const
{
  return handle;
}
